]> dgit.raspbian.org Git - gnome-shell.git/commit
Don't show the summary if a new item got removed before we had a chance to show it
authorMarina Zhurakhinskaya <marinaz@redhat.com>
Thu, 30 Sep 2010 21:02:16 +0000 (17:02 -0400)
committerMarina Zhurakhinskaya <marinaz@redhat.com>
Tue, 5 Oct 2010 20:14:05 +0000 (16:14 -0400)
commitb017a2187bc69e8d775d8f2cb71268742965228b
treefd80e4b1b019fac2ddd6ea11321d8f085cefa972
parentdd155e2f872159c5cfa373cc87d947f9632a2cf8
Don't show the summary if a new item got removed before we had a chance to show it

It's possible that an item that was added to the summary got removed before
we had a chance to show the summary because the user has interacted with
the notification (e.g. clicked on an application ready notification). We should
not be showing the summary with an unchanged set of items in this case.

However, it is possible that multiple items were added to the summary before
we had a chance to show the summary, and only some of them got removed. In view
of this scenario, we can't just use a boolean flag to indicate if the summary
needs to be shown, but have to maintain an array of new summary items instead.

https://bugzilla.gnome.org/show_bug.cgi?id=630939
js/ui/messageTray.js